package com.shop.shopcommon.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;


@Getter
public enum PayModeType {
    SHOPPING_CART_PAY(1, "购物车支付"),
    DIRECT_PAY(0, "直接支付")
    ;

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String desc;

    PayModeType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }





}
